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  
  renderer program to lwjgl  (Read 1828 times)
0 Members and 1 Guest are viewing this topic.
Offline nala-naj

Senior Newbie




Java games rock!


« Posted 2003-08-07 04:47:30 »

I am fairly new to lwjgl and 3d renderers so go easy on me  Smiley

I am using Blender3D to do my modeling.  I really like lwjgl and think the two go hand in hand since they are both opengl at their roots.  So, what is the process for using or importing a model into lwjgl?  Or in opengl in general?  Do I need to convert the model to a format that opengl understands and it will take over from there?  Can I just tell lwjgl to "play" an animation done in blender?

Sorry there are a lot of questions here, but I am really confused at this point... thanks so much!

-nn
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2003-08-07 06:42:24 »

Quote
So, what is the process for using or importing a model into lwjgl?  Or in opengl in general?

It is infact, into OpenGL in general.

You need to write (or aquire) a "Loader". There are quite a few out there. I am not aware of what format Blender exports to, so can't help you locate one. Do search the board for loaders, since there have been some posts about someone doing them, and wanting to publish them.

Offline Mac_Systems

Junior Member




I love my Java


« Reply #2 - Posted 2003-08-07 20:00:57 »

Hi,  Grin
You could use the MRI Loader avaible
at : http://www.multi.fi/~mbc/v3ds/Decode3dsApplet.html

The Network is the Music
http://www.mac-systems.de
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nala-naj

Senior Newbie




Java games rock!


« Reply #3 - Posted 2003-08-07 22:11:45 »

Quote
Hi,  Grin
You could use the MRI Loader avaible
at : http://www.multi.fi/~mbc/v3ds/Decode3dsApplet.html


thanks!  (and thanks to matzon too)

does this applet code work for blender files or do you have to convert the .blend to a 3d studio format first?

-nn
Offline Mac_Systems

Junior Member




I love my Java


« Reply #4 - Posted 2003-08-08 08:38:33 »

Good Morning, Grin

I dont know Bender! I could be possible that you have
to convert it, but i you have to do such thing,
it would be better to use some other Loader/importer

- Jens

The Network is the Music
http://www.mac-systems.de
Offline cfmdobbie

Senior Member


Medals: 1


Who, me?


« Reply #5 - Posted 2003-08-09 13:06:12 »

Blender is, unfortunately, a nightmare to get anything out of!

The file format is basically a C-side memory dump, and is to all intents and purposes unparsable by any client applications.  It changes drastically between versions and is totally undocumented.  Last I saw you could either output to VRML, or learn Python and write a converter into whatever format you want.

An XML file format has been suggested, but last I saw it had been shot down by a comment similar to "that would slow down loading/saving, d00d!!!".  Sad really, if they used XML it'd really allow Blender to do more, but no. Sad

Hellomynameis Charlie Dobbie.
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 (34 views)
2014-07-18 06:55:21

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

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

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

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

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

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

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

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

SHC (66 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!