Json model explained

83 views
Skip to first unread message

Leandro Filipczyk

unread,
May 28, 2012, 4:15:13 PM5/28/12
to PhiloGL
Hello guys, I've only recently started to play with PhiloGL (no 3D
background at ALL :)) and its great! (and fairly easy to use, even for
complete rookie as myself). The thing is that, so far, I've been
unable to find information regarding the JSON model standard (or how
it works). Can anyone point me on the right direction? Does this
standard has a particular name (other than JSON Model - been googling
a lot with no luck)? I want to be able to understand it from ground
basis.

Thanks a lot and keep up the good work!

Nicolas Garcia Belmonte

unread,
May 29, 2012, 7:35:45 PM5/29/12
to phi...@googlegroups.com

Hi, what JSON model are you talking about? Do you have a special example in mind?

Leandro Filipczyk

unread,
May 29, 2012, 9:24:26 PM5/29/12
to PhiloGL
Sorry, maybe I wasn't clear enough :P On the example 14 (if I recall
correctly) there is a teapod on the json format. I want to be able to
understand that particular format... how 3d shapes are render from the
json on that kind of files. Is there as standard for it? What is it's
name?What are vertices, normals, indices, etc.

Thanks a lot!

Nicolas Garcia Belmonte

unread,
May 30, 2012, 8:38:55 PM5/30/12
to phi...@googlegroups.com
Hi Leandro, those properties match with the properties you have to pass to the O3D.Model constructor:


A model is made of vertices, normals, indices, etc. If you'd like to know more what those are there's this article that may explain it better than me:


Please let me know if you have other questions,

Nico.
--
Nicolas Garcia Belmonte - http://philogb.github.com/

Leandro Filipczyk

unread,
May 31, 2012, 8:36:36 AM5/31/12
to PhiloGL
Thanks a lot!!! I'll give it a shot.

Thanks!

On May 30, 9:38 pm, Nicolas Garcia Belmonte <phil...@gmail.com> wrote:
> Hi Leandro, those properties match with the properties you have to pass to
> the O3D.Model constructor:
>
> http://www.senchalabs.org/philogl/doc/o3d.html#O3D:Model:constructor
>
> A model is made of vertices, normals, indices, etc. If you'd like to know
> more what those are there's this article that may explain it better than me:
>
> http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Chapter-1:-T...
>
> Please let me know if you have other questions,
>
> Nico.
>
Reply all
Reply to author
Forward
0 new messages