Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (290)
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  
  how would u conect joode 2 a java3d screen graph over the net?  (Read 1019 times)
0 Members and 1 Guest are viewing this topic.
Offline harry@dayfamilyweb

Junior Member





« Posted 2007-07-28 11:24:17 »

i am trying 2 right a pure java game engine
for MMPOGs
i have
graphics: java 3d
physics: joode
i can send txt and bytes between server and client

joode is on server
java 3d is on client
any idea how i would connect the j3d 2 the joode?
 Huh
please help!
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #1 - Posted 2007-07-28 11:43:25 »

joode doesn't know anything about the renderer you use.

It has a bunch of Geoms, which represent you're Shapes (or TransformGroups etc. ) in Java3D. The positions of those Geoms get updated every time you call step() in joode. After you've called step, you can fetch those positions (and rotations) and send them to your client computer, who then updates the shapes' positions according to the data you've send.
How you do this sending exactly, and if you filter the positions you send (because the Client wouldn't be able to see them and you want to save network traffic) is up to you. Joode doesn't have any functionality yet for something like that.

I hope this helps a bit.

cheers,
Arne

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

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (61 views)
2013-05-17 21:29:12

alaslipknot (70 views)
2013-05-16 21:24:48

gouessej (100 views)
2013-05-16 00:53:38

gouessej (98 views)
2013-05-16 00:17:58

theagentd (107 views)
2013-05-15 15:01:13

theagentd (98 views)
2013-05-15 15:00:54

StreetDoggy (144 views)
2013-05-14 15:56:26

kutucuk (167 views)
2013-05-12 17:10:36

kutucuk (166 views)
2013-05-12 15:36:09

UnluckyDevil (175 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.113 seconds with 20 queries.