Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (540)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 1124 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 (
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.

Mr.CodeIt (23 views)
2014-12-23 03:34:11

rwatson462 (53 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (85 views)
2014-12-09 22:41:13

BurntPizza (110 views)
2014-12-08 04:46:31

JscottyBieshaar (78 views)
2014-12-05 12:39:02

SHC (89 views)
2014-12-03 16:27:13

CopyableCougar4 (96 views)
2014-11-29 21:32:03

toopeicgaming1999 (155 views)
2014-11-26 15:22:04

toopeicgaming1999 (151 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!