.obj from blender in irrlicht > texture only "inside

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
random
Posts: 158
Joined: Wed Aug 11, 2010 6:01 am

.obj from blender in irrlicht > texture only "inside

Post by random »

Hello, i tried load an .obj with uv map that i formerly designed in blender and exported to an .obj.

The problem is that the Texture is only "inside" the mesh, so if the model rotates i "look" straight om the inner backside of the model where it is textured but not on the outside.

whe i import the same .obj in blender everything is fine the uv map is "on the outside"...

I tried any export setting, tried to flip normals in blender, doublesided is checked in blender, where is my fault?
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Re: .obj from blender in irrlicht > texture only "in

Post by shadowslair »

random wrote:I tried any export setting, tried to flip normals in blender, doublesided is checked in blender, where is my fault?
Hello yourself. Your fault is that you`re using Blender. :P
- IMO the problem is in the exporter- try another plugin or file format
- I doubt "doublesided" setting from blender will set the

Code: Select all

node->setMaterialFlag(video::EMF_BACK_FACE_CULLING, false);
flag automatically. :D
- Flipping the normals in Blender should do the job, wondering why it wont work. But, as PI said once "Blender is... the most illogical tool I`ve ever seen..."
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
random
Posts: 158
Joined: Wed Aug 11, 2010 6:01 am

Post by random »

Well i needed a bit wo learn to get warm with Blender but it is ok for modeling and doing games where no particles or GUI´s are needed and where limited scripting does not matter aswell, the gamelogic drived me nuts also but... never blame a tool it is what it is. like a red car is ever red an wont change when you need a yellw car...

the fault was mine, and your comment did realy helped me..

i just used a tutorial code from here

http://de.wikibooks.org/wiki/Irrlicht_- ... d_Irrlicht

Code: Select all

Node->setMaterialFlag(EMF_FRONT_FACE_CULLING, false);// was true
i am new to c++ and also new to Irrlicht, usualy i do java, actionscript, python... well many languages but the problem than is that you adapt things and do not read... so like i said it was my fault :)

btw, is there a Irrlicht Api outside with frames (left side calss overview tress right side method and class descrption) ?

greetz[/code]
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

random wrote:btw, is there a Irrlicht Api outside with frames (left side calss overview tress right side method and class descrption) ?
I don`t get a word of what exactly you are asking for- guess my english is quite limited, but you may check the "Irrlicht\irrlicht-1.7.1\doc" folder for some help.
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
random
Posts: 158
Joined: Wed Aug 11, 2010 6:01 am

Post by random »

well i meant i usual use to programm java and other languages...

what i meant is for example an api look alike this

http://dl.fancycode.com/red5/api/

you hit the class of function to the left frame and a main frame where everything is described.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

Did you take a look at the path I posted (""Irrlicht\irrlicht-1.7.1\doc\index") and isn`t it what you`re lookin` for? :roll:

There are tabs above:
Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
where you can browse the API etc.
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
random
Posts: 158
Joined: Wed Aug 11, 2010 6:01 am

Post by random »

shadowslair wrote:Did you take a look at the path I posted (""Irrlicht\irrlicht-1.7.1\doc\index") and isn`t it what you`re lookin` for? :roll:

There are tabs above:
Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
where you can browse the API etc.
i know this source but it is not made in frames like i asked for... it is just that its more practicable, but ok c++ just needs more mouseclicks and searchtime than java.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The docs are all there. Just put them into your favourite API docs generator and live happily with whatever you get. If you think that you cannot work with what we provide then go back to Java and have fun there. You're not forced to use C++, Irrlicht, or anything else. It's just your choice.
Post Reply