English
Includes

OBJ 3D data Import for OpenGL

 

Andreas
Gaida
Hi!
have a small Include File written for 3D OBJ data reading and Dastellen under XProfan 10.
Einschränkungen:
yet only Triangels and Quads installed with which one really most OBJ Files reading can ought to.
it can only OBJ Files red go where each row with @Chr$(13)+@Chr$(10) completed watts.
Files can not To big his and it can not several objeckte in a File his.

in the zipper File is one demonstration Program as Exe and as Source and The OBJ Inc.

As I said is not yet integrally ready but I hope the the a or others already so what begin can.
hope with the Time The Inc strain to.

Program:
keys with : 1,2,3,4,5,6,0 can The different OBJ data loading.
according to Rechenleistung lasts the up to 1 mins vorallem The nr.5
Keys +/- are to that zoomen and the Curso Keys to that turn the Objekts.

MfG
Andreas

683 kB
Kurzbeschreibung: OBJ Include with 3D OBJ data and example Program
Hochgeladen:12/21/06
Downloadcounter395
Download
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/21/06  
 



and with which created one such OBJs to that example?
 
12/22/06  
 



Thread moved [...] 
 
12/22/06  
 




Frank
Abbing
lovely thing! this is certainly yet ausbaufähig and can a grosse Help his. I had the same already to, but is Yes now well unnecessary.
I hope, that You it yet hinbekommst, any Objectdateien invite to. Perhaps can you too yet on the speed turn. In each drop but: moreover so!
 
12/22/06  
 




Andreas
Gaida
Hi!
this is Wavefronts 3D stature .
almost each 3D application can the stature reading and write z.B Shade,Poser,Hexagon2,3D Canvas
(3D Max of listen say To valuable that I it me do would like) and many others.
there's thousands of of 3D Objects in the stature Internet and whom supra genanten Programs can too others formate in that OBJ stature transfiguring or yourself Profesionell produce(Hexagon 2 ,Shade).

MfG
Andreas
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/22/06  
 




Frank
Abbing
i think too, that OBJ-File on the geeignetsten are, tappt im dunkeln in Profan incorporate.
 
12/22/06  
 



i think around the speed ernorm To raise ought to not the OBJ-stature geladenwerden separate to XPGL-Converts go. Hm?
 
12/22/06  
 



so - means first The Inc is class - the benefit behind it very big. an real Fleißarbeit.

is clear the one then sometimes no pleasure More has whom Source too programmtechnisch elegant To style sodas The Include a couple couple Mankos with itself rumträgt.

i will time look whether I not on your basis improve can, quasi Teamwürg.

then against ought to too yet a or others Funktionalität since - z.B. the IMHO important export to XPGL.

In amount must The Include naturally too to Okrea - this is Yes ne real Funktionserweiterung!

could You Perhaps another couple low-down OBJs here Upload around the foibles the Ladeprozedur aufzuzeigen?
 
12/22/06  
 




Andreas
Gaida
Hi!
from copyright Technischer Page would like I rather No further OBJ Files here
Send .
The Ladeprocedur can any Vertex in a File rauslesen and of it The Triangel and Quads Show
(very vielle Objects consist usually only from whom both shape) presupposed there are not more than The nachfolgenden arrays take in can .
OBJ_vertex![15000,4],OBJ_vertex_vn![15000,4],OBJ_vertex_vt![15000,4],OBJ_face_Quad&[13000,4,3]
unfortunately has Profan a constraint on 262144 items The any Arrays one Datentyps having can.

with this Dimensionierung and Profan2CPP
OBJ_vertex![95000,4],OBJ_vertex_vn![95000,4],OBJ_vertex_vt![95000,4],OBJ_face_Quad&[93000,4,3]
is it me been successful one 6Mb large OBJ einzuladen with over 37000 quads and Triangels
Image of man is with 37000 Quads in angehängter zipper

and a Löwe with ca 13000 Quads with Textur
unfortunately wisely I do not as Copyrightrechte with whom OBJ are therefore The ergebnisse only as Image.

an weakness the routine is the tappt im dunkeln The Texturdateien not yet auswertet and einbindet
and no colours for Quads and Triangels .

for Help with whom routines and with the Error disposal true I grateful

MfG
Andreas

213 kB
Kurzbeschreibung: Images
Hochgeladen:12/22/06
Downloadcounter253
Download
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/22/06  
 




Frank
Abbing
see cool from The Images! are certainly integrally beautiful many data, those together come.
with your code come I do not so well clear. be reaches dwelt, no Arrays.
 
12/22/06  
 




Andreas
Gaida
Hi!
have The Include partly new written tappt im dunkeln can now Quads ,Triangel,Line ,Points and Polygone
reading. Ausserdem evaluates tappt im dunkeln The mtl File from if a present is with equal names as Obj.
from the Mtl File reads tappt im dunkeln The Textur Files from The To loading are. Textures go now read into Formaten
BMP ,JPG and GIF what yet missing is Tif (could yet nothing moreover find what simply integrate could) . with my OBJ Files The I with Poser 6 made have has tappt im dunkeln seldom Problems except you're greater
as 7 mB .

in the anhängenden zipper File are 2 OBJ with Textures.

MfG
Andreas

909 kB
Kurzbeschreibung: OBJ-V002
Hochgeladen:12/26/06
Downloadcounter288
Download
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/26/06  
 




Andreas
Gaida
Hi!

wisely Perhaps someone How one these Api command correctly. anwendet or what yet before do must
the tappt im dunkeln wirken.

oGL(glMaterialf,~GL_FRONT_AND_BACK,~GL_AMBIENT,(0.25,0.22,0.06,1.0))
oGL(glMaterialf,~GL_FRONT_AND_BACK,~GL_DIFFUSE,(0.35,0.31,0.09,1.0))
oGL(glMaterialf,~GL_FRONT_AND_BACK,~GL_SPECULAR,(0.80,0.72,0.21,1.0))
oGL(glMaterialf,~GL_FRONT_AND_BACK,~GL_SHININESS,83.2)
these command should one material with gold ausehen define i'm But not yet been successful
it somehow anzuwenden. if me there who moreover help could would I very grateful .
true too very important around the OBJ Include yet To strain.

MfG
Andreas
 
Athlon X2 4800 , 2GB Ram , GeForce 7800GT
Windows XP Pro , XProfan 10 und 11 , Profan2Cpp 1.6b
12/27/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

61.124 Views

Untitledvor 0 min.
Walter04/30/23
Sven Bader09/23/21
Alibre01/28/21
Ralf Netz04/07/20
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie