News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Model Loader

Started by Farabi, November 07, 2008, 04:31:04 AM

Previous topic - Next topic

Farabi

Anyone have a model loader that load one or more 3D File format? (like 3ds, obj etc)
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Draakie

Wrote one a couple months back for 3DS - still needs a lot more features - but works.
Uses recursive method. Reasonable support for the strange and wonderfull (un-tested).
Works with  17 models I've thrown at it. Hubby was impressed.  :U  But YES it could be
allot better - should actually have flogged it in The Lab weeks ago.

Should I post it?

Draakie
Does this code make me look bloated ? (wink)

Farabi

Quote from: Draakie on November 10, 2008, 08:29:15 AM
Wrote one a couple months back for 3DS - still needs a lot more features - but works.
Uses recursive method. Reasonable support for the strange and wonderfull (un-tested).
Works with  17 models I've thrown at it. Hubby was impressed.  :U  But YES it could be
allot better - should actually have flogged it in The Lab weeks ago.

Should I post it?

Draakie
Why not Draakie?
I did use the .obj loader from hitchkr example but it doesnot work, also, the glmDraw function is so slooow.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Draakie

QuoteWhy not Draakie?

Erm...
1. Just wanted to know if that's what you were looking for.
2. Perhaps you found something already [non-3ds or otherwise]

OK. Will post in the LAB shortly.

Draakie
Does this code make me look bloated ? (wink)

Farabi

Quote from: Draakie on November 11, 2008, 05:25:13 AM
QuoteWhy not Draakie?

Erm...
1. Just wanted to know if that's what you were looking for.
2. Perhaps you found something already [non-3ds or otherwise]

OK. Will post in the LAB shortly.

Draakie

Wel drakiee, if that was copyrighted algo, dont post it.
1. It is what I looking for.
2. Yes I did, but it too slow.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Draakie

Does this code make me look bloated ? (wink)

BogdanOntanu

Quote
Wel drakiee, if that was copyrighted algo, dont post it.

Farabi, anything that you did not write your self IS COPYRIGHTED by default under the current laws, the copyright belongs to the original author even if the author does not say so clearly. There is no way under the law that he can loose his copyrights.

In consequence you either write it yourself without copy paste (the safest option) OR you get a permission in writing  from the original author OR the author is kind and releases it with a free or liberal license but even so under the law some restrictions do apply  ;)

For example you can never claim that you have written the code.

So, my advice would be that you check available code and examples like the one that Draakie so kindly provided (and others) and try to understand them and when you did really understood them then you do write your own.

The only valid proof that you understood something and you are now "over it" is when you are able to create it from scratch with ease.
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

Farabi

Quote from: BogdanOntanu on November 11, 2008, 09:40:57 PM
Quote
Wel drakiee, if that was copyrighted algo, dont post it.

Farabi, anything that you did not write your self IS COPYRIGHTED by default under the current laws, the copyright belongs to the original author even if the author does not say so clearly. There is no way under the law that he can loose his copyrights.

In consequence you either write it yourself without copy paste (the safest option) OR you get a permission in writing  from the original author OR the author is kind and releases it with a free or liberal license but even so under the law some restrictions do apply  ;)

For example you can never claim that you have written the code.

So, my advice would be that you check available code and examples like the one that Draakie so kindly provided (and others) and try to understand them and when you did really understood them then you do write your own.

The only valid proof that you understood something and you are now "over it" is when you are able to create it from scratch with ease.


Thanks Bogdan, It nice information. I dont really understand about the law.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Mark Jones

I do not understand, where did Drakkie ever say this was not her work? It appears to be hers. Nice work.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

BlackVortex

Quote from: Mark Jones on November 13, 2008, 05:02:12 PM
I do not understand, where did Drakkie ever say this was not her work? It appears to be hers. Nice work.

::)
Actually, she specifically said its her work. Don't know why the copyright bomb dropped in here.

BogdanOntanu

#10
It is easy / simple:

See my quote from Farabi above. Farabi told Draakie that "IF it is copyrighted work THEN do not post it..."

I found this remark very funny because automatically ALL original work "is copyrighted" by default. Of course it is copyrighted by Draakie in this case. Hence I have tried to explain a few things about copyright to Farabi .... that is all ;)

I did this because I "sense" a little tendency of Farabi to ask for people's code probably in order to copy and paste into his project of the day. In this case It "might" be OK to do this IF Draakie agrees BUT in the long term... sooner or later with no understanding of copyright law Farabi might get into some kind of trouble.

I wanted to explain him some common details of the copyright laws and maybe save him some problems in the future.

Apparently by his remark he did not understood it and unfortunately not knowing or not understanding the law is not acceptable as a defense in a court of law :D

Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

Draakie

QuoteI do not understand, where did Drakkie ever say this was not her work? It appears to be hers. Nice work.

I'am flattered, YES it's waaaaaay toooo sloppy not to be mine  :P, Except for large influences of Hitchikers opengl framework.
It's really pre-alpha - but I did'nt have time to hammer it into shape, as explained.

Do with it whatever you wish - just post your solutions so that I might learn. Tit-for-tat

Thanks
Draakie
Does this code make me look bloated ? (wink)

Farabi

Drakiee, I got error message: "Cannot create openGL instance".
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Anyway does anyone know why hitchickr Vertex_Array_And_WaveFront_Obj example did not work?
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dancho

@Farabi

check this :

http://www.lib3ds.org/

and this:

http://www.flipcode.com/archives/

/* great collection of tutorials and articles */