Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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 1063 times)
0 Members and 1 Guest are viewing this topic.
Offline DrQuincy

Junior Member




Vwls hv bn bnnd!


« Posted 2003-11-10 19: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 Member




Friendly fire isn't friendly!


« Reply #1 - Posted 2003-11-11 06: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 Member




Vwls hv bn bnnd!


« Reply #2 - Posted 2003-11-11 06: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 Member




for great justice!


« Reply #3 - Posted 2003-11-11 10: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 Member




There is nothing common about common sense


« Reply #4 - Posted 2003-11-11 15: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 (
1  
getViewPlatformTransform()
).

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

Ubuntu
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (33 views)
2014-07-18 06:55:21

Zero Volt (29 views)
2014-07-17 23:47:54

danieldean (24 views)
2014-07-17 23:41:23

MustardPeter (26 views)
2014-07-16 23:30:00

Cero (41 views)
2014-07-16 00:42:17

Riven (43 views)
2014-07-14 18:02:53

OpenGLShaders (31 views)
2014-07-14 16:23:47

Riven (30 views)
2014-07-14 11:51:35

quew8 (29 views)
2014-07-13 13:57:52

SHC (65 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!