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 (293)
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  
  3D Primitives  (Read 2128 times)
0 Members and 1 Guest are viewing this topic.
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Posted 2004-02-15 02:42:52 »

Are there libraries for other 3D primitives such as cones, spheres, cylinders, etc in Xith3D?

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Java Cool Dude

Senior Member




Java forever


« Reply #1 - Posted 2004-02-15 04:34:12 »

If no one minds, I'd like to make a primitive package for Xith3D producing Torii, Spheres, Cylinders, Cones, Boxes etc Smiley
Offline Yuri Vl. Gushchin

Senior Member




Speak Java!


« Reply #2 - Posted 2004-02-15 11:36:07 »

Some of simplest primitives (at least Sphere) you can find in com.xith3d.TestUtils.

Anyway, primitive package will be great.

Yuri

Yuri Vl. Gushchin
JProof Group
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #3 - Posted 2004-02-15 14:57:20 »

Quote
Some of simplest primitives (at least Sphere) you can find in com.xith3d.TestUtils.

Anyway, primitive package will be great.

Yuri



That must be a library that I don't have because I con't have anything called com.xith3d.TestUtils in the latest CVS drop off the site. The only primitive in the source tree is Cube Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Jens

Senior Member




Java for games!


« Reply #4 - Posted 2004-02-15 18:19:57 »

com.xith3d.test.TestUtils

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline Yuri Vl. Gushchin

Senior Member




Speak Java!


« Reply #5 - Posted 2004-02-15 18:24:34 »

Quote
I con't have anything called com.xith3d.TestUtils in the latest CVS drop off the site


Sorry - was a typo. Correct class name is of course com.xith3d.test.TestUtils.

Sphere can be created with something like

1  
2  
Appearance a = new Appearance();
Shape3D sph = new Shape3D(TestUtils.createSphere(1.0f, 80), a);


Yuri

Yuri Vl. Gushchin
JProof Group
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #6 - Posted 2004-02-15 22:30:58 »

Quote
If no one minds, I'd like to make a primitive package for Xith3D producing Torii, Spheres, Cylinders, Cones, Boxes etc Smiley


I wouldn't mind at all Smiley

Infact that would be a great idea.

Will.

Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #7 - Posted 2004-02-16 01:06:39 »

Quote


Sorry - was a typo. Correct class name is of course com.xith3d.test.TestUtils.

Sphere can be created with something like

1  
2  
Appearance a = new Appearance();
Shape3D sph = new Shape3D(TestUtils.createSphere(1.0f, 80), a);


Yuri



Much appreciated. Pretty much all we need to do is wrap these method calls as primitive classes and sit them in utils. JCD, lemme know if you've got this or want me to knock it out.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline Java Cool Dude

Senior Member




Java forever


« Reply #8 - Posted 2004-02-16 02:41:21 »

I got it Wink
Offline Java Cool Dude

Senior Member




Java forever


« Reply #9 - Posted 2004-02-16 05:48:17 »

Well actually I have to back off of it since I realized that I have tons to do Shocked
Sorry about dat
Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #10 - Posted 2004-02-16 14:56:19 »

I'll get it. I'll do a quickie by just wrapping the primitives defined by TestUtils and then we can go through and optimize them and create new ones later.

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
Offline pedro

Junior Member




Java games rock!


« Reply #11 - Posted 2004-03-06 21:14:08 »


Just wondering if you guys have put together a package to create 3D primitives?

Not that it's too dificult, but it could save me some time now.

cheers.

Offline gregorypierce

Senior Member




I come upon thee like the blue screen of death....


« Reply #12 - Posted 2004-03-09 00:40:33 »

Got wrapped up with some plumbing for JOGL, OSX, and LWJGL. As soon as that's done the first priority is primitives Smiley

http://www.gregorypierce.com

She builds, she builds oh man
When she links, she links I go crazy
Cause she looks like good code but she's really a hack
I think I'll run upstairs and grab a snack!
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 (76 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (185 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.138 seconds with 22 queries.