Dear all,
I have a model in obj format and want to load the model into
OpenSceneGraph. When there is no texture, OpenSceneGraph can load the
model fine. But when I use the model with texture, OpenSceneGraph
allocates a huge amount of memory and crashes. I think it's a runtime
bug and would like to
Hi,
On 22/10/09 9:40 PM, tien dat wrote:
I have a model in obj format and want to load the model into
OpenSceneGraph. When there is no texture, OpenSceneGraph can load the
model fine. But when I use the model with texture, OpenSceneGraph
allocates a huge amount of memory and crashes. I think it'
On 23/10/09 10:58 AM, Ulrich Hertlein wrote:
On 22/10/09 9:40 PM, tien dat wrote:
I have a model in obj format and want to load the model into
OpenSceneGraph. When there is no texture, OpenSceneGraph can load the
model fine. But when I use the model with texture, OpenSceneGraph
allocates a huge
Dear Ulrich,
Could you tell me more about how to specify that option? Can I specify
it while using osgviewer.exe or I have to rebuild osgviewer.exe with
the option?
Thanks,
Dat
On Fri, Oct 23, 2009 at 5:02 AM, Ulrich Hertlein wrote:
> On 23/10/09 10:58 AM, Ulrich Hertlein wrote:
>>
>> On 22/10/09
Hi Dat,
On 23/10/09 5:26 PM, tien dat wrote:
Dear Ulrich,
Could you tell me more about how to specify that option? Can I specify
it while using osgviewer.exe or I have to rebuild osgviewer.exe with
the option?
Unfortunately you can't (at the moment) set this option externally or internally, be
Dear Ulrich,
Sorry for my stupidity, but I don't know anything about modifying
models. The model is actually created in VRML, and I use 3DS Max to
export it to obj format. So if you can, please tell me a bit more
about how to optimize the model:
- How can you remove duplicate materials (if you can
Hi,
So I have read about .mtl and .obj files and understood what you
meant. I created a program to optimize the model
(http://cs.uiowa.edu/~tinguyen/OptimizeMtlFiles.rar)
But the new one that I created doesn't look the same as the old one
when I don't use texture. Please click this link to download
Hello Dat,
On 27/10/09 2:05 AM, Nguyen Tien Dat wrote:
So I have read about .mtl and .obj files and understood what you
meant. I created a program to optimize the model
(http://cs.uiowa.edu/~tinguyen/OptimizeMtlFiles.rar)
But the new one that I created doesn't look the same as the old one
when I
Hi Dat,
Maybe I am not seeing something obvious here, but why don't you use
the OpenSceneGraph VRML loader instead of taking a detour via 3DS Max
and convert to .obj format?
Erik den Dekker
On 26-10-2009, at 16:10, Nguyen Tien Dat wrote:
Dear Ulrich,
Sorry for my stupidity, but I don
Dear Ulrich and Erik,
Yeah, I can load the model with texture now. Thanks Ulrich for your
help. I really appreciate that.
For Erik's question, I must say that I did try the VRML loader, but it
didn't compile. I had another thread to ask for the issue (you can
search in osg mails for "VRML plug in")
Hi Dat,
On 27/10/09 11:53 AM, Ulrich Hertlein wrote:
On 27/10/09 2:05 AM, Nguyen Tien Dat wrote:
So I have read about .mtl and .obj files and understood what you
meant. I created a program to optimize the model
(http://cs.uiowa.edu/~tinguyen/OptimizeMtlFiles.rar)
Oh and one more thing: you ha
My optimizer is only check for identical textures - i.e. materials
that load the same image. I didn't check for materials without
texture. Do you need to compare all properties of each material in
order to find duplicate?
Thanks,
Dat
On Wed, Oct 28, 2009 at 2:14 AM, Ulrich Hertlein wrote:
> Hi Da
On 29/10/09 12:27 AM, Nguyen Tien Dat wrote:
texture. Do you need to compare all properties of each material in
order to find duplicate?
Everything except the name ;-D
Cheers,
/ulrich
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http:
Thanks. I'll do that.
Dat
On Thu, Oct 29, 2009 at 2:58 AM, Ulrich Hertlein wrote:
> On 29/10/09 12:27 AM, Nguyen Tien Dat wrote:
>>
>> texture. Do you need to compare all properties of each material in
>> order to find duplicate?
>
> Everything except the name ;-D
> Cheers,
> /ulrich
> __
14 matches
Mail list logo