Hi,
the .mtl file is text file where the materials are defined. You can change
the ambient, diffuse there with text editor
On Wed, Jan 15, 2020 at 10:15 AM Voerman, L. wrote:
> Hi Jiljith,
> I see no problem in your code, and it works when I add it to my osgviewer.
> with
Hi Jiljith,
I see no problem in your code, and it works when I add it to my osgviewer.
with OSG_NOTIFY_LEVEL=NOTICE it generates 2 messages:
Obj Found map in options, [DIFFUSE]=0
Scaling image 'D:\laurens\Download\objDog/Dog_diffuse.jpg' from (450,450)
to (512,512)
I suggest you can convert your
Dear Tom,
Thank you for the reply. I tried to load your model. It is crashing in my
PC also.
OSG version is 3.6.4
On Tuesday, January 14, 2020 at 3:54:05 PM UTC+5:30, Tom Pollok wrote:
>
> Which version of openscenegraph are you using?
>
> Would you mind trying my obj model with mtl and jpg
Hi Laurens,
The answer is so great. I am getting the texture applied. But it is in the
osgviewer.exe only.
Problematically I tried to add the option. Its not working.
osgDB::Options* opt = new osgDB::Options;
opt->setOptionString("DIFFUSE=0");
osg::ref_ptr model1=
On Tuesday, 14 January 2020 14:18:21 UTC, Voerman, L. wrote:
>
> To answer my own question, not that I've joint the google group my replies
> by e-mail to osg-users@lists.openscenegraph.org show up in the google
> group as well
>
I wonder if googegroups is testing the from w.r.t accepting or
To answer my own question, not that I've joint the google group my replies
by e-mail to osg-users@lists.openscenegraph.org show up in the google
group as well
Laurens.
On Tue, Jan 14, 2020 at 2:45 PM Voerman, L. wrote:
> Hi Robert,
> It did work, a mail from me to
Hi Robert,
It did work, a mail from me to osg-users@lists.openscenegraph.org on 11
november 2019 is on groups.google.com,
a post on 9 january is not.
Maybe this email will show up on google groups now that I've joined the
group?
Laurens.
On Tue, Jan 14, 2020 at 2:21 PM Robert Osfield
wrote:
>
On Tue, 14 Jan 2020 at 13:09, L. Voerman wrote:
> repost in google group; It seems like my reply to the mailing list does
> not show up in google groups.
>
I did think I had the two working together at the end of last year but
current mailing lists are appearing, will look into it.
repost in google group; It seems like my reply to the mailing list does not
show up in google groups.
Hi Jiljith,
The material has both an ambient and a diffuse texture (both refer to the
same file)
while this can be made to work with a shader, using the fixed function
pipeline means you'll
H Jiljith,
The material has both an ambient and a diffuse texture (both refer to the
same file)
while this can be made to work with a shader, using the fixed function
pipeline means you'll have to choose one:
osgviewer -O DIFFUSE=0 12228_Dog_v1_L2.obj
Laurens.
On Tue, Jan 14, 2020 at 10:53 AM
Which version of openscenegraph are you using?
Would you mind trying my obj model with mtl and jpg texture file.
https://owncloud.iosb.fraunhofer.de/owncloud/s/dc8dkbXrQz3gTuh
[image: Capture.PNG]
[image: Capture.PNG]
Hi,
I am developing a tool for editing 3D models using openscenegraph. When I
tried to load an .obj file, the texture is not applied. I am getting only
black shade.
The model is imported using the below code.
osg::ref_ptr model1=
12 matches
Mail list logo