[comp.graphics] help wanted in 3-D graphics on Sun 3...

vipul@pedsga.UUCP (03/29/89)

I am a newcomer to the world of gaaphics. We are trying to simulate 
a manipulator on Sun 3 workstation using SunCore 3-D graphics library.
For this purpose, we want to create several solid objects and transform
each of them independently in 3-D.

I am trying to get some SAMPLE PROGRAM that can create atleast 
one solid object (cylinder, filled polygon, box etc) and perform
simple transformations about all 3-axis.

Also I have a few questions for people who might be familiar with
SunCore.

1) Can I change the projection of object, i.e. angle of x, y and z axis
   with respect to the screen from the default orientation of 

        y
	^
	|
	|
	|----------> x   and z-axis going straight into the screen.

2) Is there any easier way  (other than giving 3-D coordinates for the 
   whole object) to create a solid symmetrical objects? 

   (like creating a 2-D segment with all coordinates and then applying
    translation or rotation of this newly created segment to produce
    a 3-D object before closing the segment for displaying on the screen?)

3) how to prevent transformation on one segment (object) from erasing
   other segment (object) from the screen. I can redisplay every objects
   for movement in any single object but that will be very slow.


Any pointers and source code(in C or FORTRAN) would be most appreciated!

Thanks a lot.

=============================================================================
|  Vipul Patel			Internet: vipatel@toccata.rutgers.edu
|  Concurrent Computer Corp.	UUCP1: ..!rutgers!toccata.rutgers.edu!vipatel
|  106 Apple Street		UUCP2: ..!rutgers!petsd!pedsga!cccosa!vipul
|  Tinton Falls, NJ 07724	Pho-net: (201) 758-7234
=============================================================================