Pandas 3D obj model loading
up vote
0
down vote
favorite
I have been trying to build a game using pandas3D and I saw the load model function only uses x
, bam
and egg
. files.
But I only have obj
files.
How can I load obj
models to pandas? I have tried converting from .obj
to .x
but pandas gives me an error.
Unable to open X file:
/c/Users/inbar/PycharmProjects/untitled3/3D/v1.x :xfile(error): Cannot
open /c/Python27/etc/../v1.x for reading. Unable to open X file:
/c/Python27/etc/../v1.x :xfile(error): Cannot open
/c/Python27/etc/../models/v1.x for reading. Unable to open X file:
/c/Python27/etc/../models/v1.x :loader(error): Couldn't load file
v1.x: all matching files on model path invalid (the model path is
currently:
"/c/Users/inbar/PycharmProjects/untitled3/3D;/c/Python27/etc/..;/c/Python27/etc/../models")
Traceback (most recent call last): File
"C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 146, in
app = MyApp() File "C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 32, in init
self.surface =loader.loadModel("v1.x") File "C:Python27directshowbaseLoader.py", line 170, in loadModel
raise IOError, message IOError: Could not load model file(s): ['v1.x']
after using Obj2Egg i got this errror
C:UsersinbarDesktopt>obj2egg.py -n30 -b -t -s OBJ.obj
option -t not recognized
This Version: $Id: obj2egg.py,v 1.7 2008/05/26 17:42:53 andyp Exp $
Info: info >at< pfastergames.com
Extended from: http://panda3d.org/phpbb2/viewtopic.php?t=3378
.___..__ .___.___.___.__..__ . .
| [__)[__ [__ [__ | |[__)|/|
| | [___[___| |__|| | |
obj2egg.py [n##][b][t][s] filename1.obj ...
-n regenerate normals with # degree smoothing
exaple -n30 (normals at less 30 degrees will be smoothed)
-b make binarmals
-t make tangents
-s show in pview
licensed under WTFPL (http://sam.zoy.org/wtfpl/)
python pandas 3d
add a comment |
up vote
0
down vote
favorite
I have been trying to build a game using pandas3D and I saw the load model function only uses x
, bam
and egg
. files.
But I only have obj
files.
How can I load obj
models to pandas? I have tried converting from .obj
to .x
but pandas gives me an error.
Unable to open X file:
/c/Users/inbar/PycharmProjects/untitled3/3D/v1.x :xfile(error): Cannot
open /c/Python27/etc/../v1.x for reading. Unable to open X file:
/c/Python27/etc/../v1.x :xfile(error): Cannot open
/c/Python27/etc/../models/v1.x for reading. Unable to open X file:
/c/Python27/etc/../models/v1.x :loader(error): Couldn't load file
v1.x: all matching files on model path invalid (the model path is
currently:
"/c/Users/inbar/PycharmProjects/untitled3/3D;/c/Python27/etc/..;/c/Python27/etc/../models")
Traceback (most recent call last): File
"C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 146, in
app = MyApp() File "C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 32, in init
self.surface =loader.loadModel("v1.x") File "C:Python27directshowbaseLoader.py", line 170, in loadModel
raise IOError, message IOError: Could not load model file(s): ['v1.x']
after using Obj2Egg i got this errror
C:UsersinbarDesktopt>obj2egg.py -n30 -b -t -s OBJ.obj
option -t not recognized
This Version: $Id: obj2egg.py,v 1.7 2008/05/26 17:42:53 andyp Exp $
Info: info >at< pfastergames.com
Extended from: http://panda3d.org/phpbb2/viewtopic.php?t=3378
.___..__ .___.___.___.__..__ . .
| [__)[__ [__ [__ | |[__)|/|
| | [___[___| |__|| | |
obj2egg.py [n##][b][t][s] filename1.obj ...
-n regenerate normals with # degree smoothing
exaple -n30 (normals at less 30 degrees will be smoothed)
-b make binarmals
-t make tangents
-s show in pview
licensed under WTFPL (http://sam.zoy.org/wtfpl/)
python pandas 3d
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have been trying to build a game using pandas3D and I saw the load model function only uses x
, bam
and egg
. files.
But I only have obj
files.
How can I load obj
models to pandas? I have tried converting from .obj
to .x
but pandas gives me an error.
Unable to open X file:
/c/Users/inbar/PycharmProjects/untitled3/3D/v1.x :xfile(error): Cannot
open /c/Python27/etc/../v1.x for reading. Unable to open X file:
/c/Python27/etc/../v1.x :xfile(error): Cannot open
/c/Python27/etc/../models/v1.x for reading. Unable to open X file:
/c/Python27/etc/../models/v1.x :loader(error): Couldn't load file
v1.x: all matching files on model path invalid (the model path is
currently:
"/c/Users/inbar/PycharmProjects/untitled3/3D;/c/Python27/etc/..;/c/Python27/etc/../models")
Traceback (most recent call last): File
"C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 146, in
app = MyApp() File "C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 32, in init
self.surface =loader.loadModel("v1.x") File "C:Python27directshowbaseLoader.py", line 170, in loadModel
raise IOError, message IOError: Could not load model file(s): ['v1.x']
after using Obj2Egg i got this errror
C:UsersinbarDesktopt>obj2egg.py -n30 -b -t -s OBJ.obj
option -t not recognized
This Version: $Id: obj2egg.py,v 1.7 2008/05/26 17:42:53 andyp Exp $
Info: info >at< pfastergames.com
Extended from: http://panda3d.org/phpbb2/viewtopic.php?t=3378
.___..__ .___.___.___.__..__ . .
| [__)[__ [__ [__ | |[__)|/|
| | [___[___| |__|| | |
obj2egg.py [n##][b][t][s] filename1.obj ...
-n regenerate normals with # degree smoothing
exaple -n30 (normals at less 30 degrees will be smoothed)
-b make binarmals
-t make tangents
-s show in pview
licensed under WTFPL (http://sam.zoy.org/wtfpl/)
python pandas 3d
I have been trying to build a game using pandas3D and I saw the load model function only uses x
, bam
and egg
. files.
But I only have obj
files.
How can I load obj
models to pandas? I have tried converting from .obj
to .x
but pandas gives me an error.
Unable to open X file:
/c/Users/inbar/PycharmProjects/untitled3/3D/v1.x :xfile(error): Cannot
open /c/Python27/etc/../v1.x for reading. Unable to open X file:
/c/Python27/etc/../v1.x :xfile(error): Cannot open
/c/Python27/etc/../models/v1.x for reading. Unable to open X file:
/c/Python27/etc/../models/v1.x :loader(error): Couldn't load file
v1.x: all matching files on model path invalid (the model path is
currently:
"/c/Users/inbar/PycharmProjects/untitled3/3D;/c/Python27/etc/..;/c/Python27/etc/../models")
Traceback (most recent call last): File
"C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 146, in
app = MyApp() File "C:/Users/inbar/PycharmProjects/untitled3/3D/panda3d tutorial.py",
line 32, in init
self.surface =loader.loadModel("v1.x") File "C:Python27directshowbaseLoader.py", line 170, in loadModel
raise IOError, message IOError: Could not load model file(s): ['v1.x']
after using Obj2Egg i got this errror
C:UsersinbarDesktopt>obj2egg.py -n30 -b -t -s OBJ.obj
option -t not recognized
This Version: $Id: obj2egg.py,v 1.7 2008/05/26 17:42:53 andyp Exp $
Info: info >at< pfastergames.com
Extended from: http://panda3d.org/phpbb2/viewtopic.php?t=3378
.___..__ .___.___.___.__..__ . .
| [__)[__ [__ [__ | |[__)|/|
| | [___[___| |__|| | |
obj2egg.py [n##][b][t][s] filename1.obj ...
-n regenerate normals with # degree smoothing
exaple -n30 (normals at less 30 degrees will be smoothed)
-b make binarmals
-t make tangents
-s show in pview
licensed under WTFPL (http://sam.zoy.org/wtfpl/)
python pandas 3d
python pandas 3d
edited Nov 21 at 20:59
asked Nov 21 at 16:50
j.doe
42
42
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Please use following code to convert obj to egg which is native format supported by panda3D
Obj2Egg
Else you will have to convert Obj to Collada for that you may use any software like blender.
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Please use following code to convert obj to egg which is native format supported by panda3D
Obj2Egg
Else you will have to convert Obj to Collada for that you may use any software like blender.
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
add a comment |
up vote
0
down vote
Please use following code to convert obj to egg which is native format supported by panda3D
Obj2Egg
Else you will have to convert Obj to Collada for that you may use any software like blender.
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
add a comment |
up vote
0
down vote
up vote
0
down vote
Please use following code to convert obj to egg which is native format supported by panda3D
Obj2Egg
Else you will have to convert Obj to Collada for that you may use any software like blender.
Please use following code to convert obj to egg which is native format supported by panda3D
Obj2Egg
Else you will have to convert Obj to Collada for that you may use any software like blender.
answered Nov 21 at 19:29
Paritosh Kulkarni
531311
531311
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
add a comment |
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
I did use obj2egg but it didnt work and gave me this error
– j.doe
Nov 21 at 20:56
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
Then convert you model to .dae and then use it. For this conversion you can use any free tool like blender. which has exporter for this.
– Paritosh Kulkarni
Nov 21 at 20:58
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416937%2fpandas-3d-obj-model-loading%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown