Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  View, view, view  (Read 1808 times)
0 Members and 1 Guest are viewing this topic.
Offline DrQuincy

Junior Devvie

Vwls hv bn bnnd!

« Posted 2003-11-10 18:55:02 »

I'm confused as to the difference in Java3d between View, ViewPlatform and ViewingPlatform.  What's the difference and how do they get used together?

Thanks Cheesy
Offline Herkules

Senior Devvie

Friendly fire isn't friendly!

« Reply #1 - Posted 2003-11-11 05:00:44 »

Roughly, trying to remember....

View is a thing like a camera. ViewPlatform is kind of a camera mount located somewhere in the scenegraph, ViewingPlatform is a utility class tying those things together. Roughly....

HARDCODE    --     DRTS/FlyingGuns/JPilot/JXInput  --    skype me: joerg.plewe
Offline DrQuincy

Junior Devvie

Vwls hv bn bnnd!

« Reply #2 - Posted 2003-11-11 05:47:33 »

Thanks, managed to find a little more info on it, I seem you're right, roughly, lol.  Gonna have a play round... Cheesy
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Breakfast

Senior Devvie

for great justice!

« Reply #3 - Posted 2003-11-11 09:37:27 »

If you do manage to acquire a complete understanding, please do explain for the rest of the world. Especially how the various transform groups involved work.

I get so baffled by all the calls to ViewingPlatform.GetViewPlatform.GetViewingPlatformTransform().GetViewPlatformTransform().GetViewTransform().GetMagicalExtraTransform().GetSomeKindOfSpecialInexplicableTransform() or whatever it is.
Offline Conzar

Junior Devvie

There is nothing common about common sense

« Reply #4 - Posted 2003-11-11 14:56:20 »

I always add the ViewPlatform to a TransformGroup.  Which in tern a View object is attached to the ViewPlatform.  I modify that first TransformGroup to move the camera around.  That seems to be the only thing you can do.

There is a method in ViewPlatform that returns a TransformGroup; however, it says it gets the bottom-most TransformGroup associated with this ViewPlatform.  If you keep a refernce to the TransformGroup that u added the ViewPlatform to, then it should be the same as what is returned in that method (

I think thats all there is too it ... feel free to add if I am missing something.

Pages: [1]
  ignore  |  Print  

ivj94 (580 views)
2018-03-24 14:47:39

ivj94 (44 views)
2018-03-24 14:46:31

ivj94 (371 views)
2018-03-24 14:43:53

Solater (60 views)
2018-03-17 05:04:08

nelsongames (107 views)
2018-03-05 17:56:34

Gornova (147 views)
2018-03-02 22:15:33

buddyBro (690 views)
2018-02-28 16:59:18

buddyBro (90 views)
2018-02-28 16:45:17

xxMrPHDxx (492 views)
2017-12-31 17:17:51

xxMrPHDxx (728 views)
2017-12-31 17:15:51
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!