thank you for commenting, Sean! That is probably what I need. My question is that am i able to call OpenGL function directly in the immediate mode? Then why to use java3d at the first place? (I am still not sure.)
At 02:00 PM 7/2/2002 -0700, you wrote: >I was actually curious about rendering objects in pure-immediate mode -- >running my own render loop -- without using any of the scene graph >features (apart from the basic universe that needs to be set up). > >Sean > > > > -----Original Message----- > > From: Nitin.Jain [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 02, 2002 5:39 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [JAVA3D] Immediate mode rendering > > > > > > Sean, > > You need to create your own Canvas3D extending the java3D's > > canvas3D. You > > have to atleast override the methods 'renderField' and > > 'preRender' method. > > You can get the graphics context and call drawGeometry method on that. > > > > I would suggest you go thru the chapter4 of Selman's book, it > > explains it > > pretty well. > > > > Get back to me if you have further problems. > > > > Nitin > > > > > -----Original Message----- > > > From: Sean Sylvis [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, July 02, 2002 7:41 AM > > > To: [EMAIL PROTECTED] > > > Subject: [JAVA3D] Immediate mode rendering > > > > > > > > > What is necessary to render something (a > > > com.sun.j3d.utils.geometry.Sphere) in a JFrame and Canvas3D > > > in immediate mode? > > > > > > Sean > > > > > > ============================================================== > > > ============To unsubscribe, send email to > > > [EMAIL PROTECTED] and include in the body > > > of the message "signoff JAVA3D-INTEREST". For general help, > > > send email to > > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > > > > ============================================================== > > ============= > > To unsubscribe, send email to [EMAIL PROTECTED] and > > include in the body > > of the message "signoff JAVA3D-INTEREST". For general help, > > send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > > >ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body >of the message "signoff JAVA3D-INTEREST". For general help, send email to >[EMAIL PROTECTED] and include in the body of the message "help". Lan Wu-Cavener Dept. of Landscape Architecture ==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".