Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / October 2003

Tip: Looking for answers? Try searching our database.

Dynamically changing a primitive's property?

Thread view: 
DooGoG - 06 Oct 2003 09:03 GMT
Hi,

Could someone point me to where I could find some sample code showing
how to dynamically change a primitive's property (such as a cube's
color) during runtime? Thanks much!
Patti Koenig - 07 Oct 2003 21:24 GMT
The following FastScript3D command is used to refer to
a particular object and dynamically change its color

REFER foo / COLOR green

The source code is provided in vvscene/VVstyle.java.

See:

http://fastscript3d.jpl.nasa.gov
Also, see the following online java3D applet to play
with that and other commands
http://fastscript3d.jpl.nasa.gov/commands.html

Patti Koenig

> Hi,
>
> Could someone point me to where I could find some sample code showing
> how to dynamically change a primitive's property (such as a cube's
> color) during runtime? Thanks much!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.