Archived

This topic is now archived and is closed to further replies.

SIHOG

Blender

Recommended Posts

I ''researched'' this a little while ago. You basically either use the dxf or vrml formats that it can export, or you write your own exporter using the Python scrypting language.



How many Microsoft employees does it take to screw in a light bulb?
None, they just declare drakness as a new standard.

Share this post


Link to post
Share on other sites
I thank you very much for trying to help me but I don''t thing I quite understand you. When I do sth in blender, the program just saves my models in format .blend , so I would be very thankful if you could write me the easiest way to do that, to use models made in blender in my openGL code

Thank you !

Share this post


Link to post
Share on other sites
Write a model loader, it''s pretty easy. I normally write a convertion tool to convert the file to my own format, then I write a method of loading that format. See wotsit.org for information on different file formats.

[Resist Windows XP''s Invasive Production Activation Technology!]

Share this post


Link to post
Share on other sites
I am sorry to bother you again but I do not know how to do that and I didn''t find anything useful on that page so I am asking you if you could send me the converter that you made for yourself.
Thank you !

Share this post


Link to post
Share on other sites
Ever format is different. I made that format specifically for the mini-engine I was experimenting with (the format was pretty primitive, but it worked for experimenting). The format you design should be what you need for whatever your project requires. Assuming you know the C or C++ file i/o libraries, you should easily be able to use one of the existing mainstream formats or convert it to your own. We can''t write everything for you, since every project has different requirements.

[Resist Windows XP''s Invasive Production Activation Technology!]

Share this post


Link to post
Share on other sites
that''s why I said to export it to dxf or write a plugin so it''s easier to load the model. the .blend format is very f---ed up.



How many Microsoft employees does it take to screw in a light bulb?
None, they just declare drakness as a new standard.

Share this post


Link to post
Share on other sites
You can check out my python script i use for blender
(basicly a complete re-write of w3d2.py) It uses tris, materials, matrix, uvtexture, and simple animation.
However, with blender''s iffy interface i cannot extract the script for the forum :o

should i email it?(the .blend file)

-bobert


How many bits could a blitter blit if blitter could blit bits?

Share this post


Link to post
Share on other sites
alright, i sent it! anyone else want it?

-BobertGL

PS: i think that everyone needs to know the basics of python, its a great way to expand on blenders capibilities...
PSS: erm, how expirienced are you SIHOG? because i sorta made the discription letter complex and asumed you knew about things like matrixes and uv texturing...sorry



How many bits could a blitter blit if blitter could blit bits?

Share this post


Link to post
Share on other sites