Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Altarfinch

#1
Thanks, it solved the problem. I was using the latest official version (1.24).
#2
I uploaded the MTL, the OBJ and the textures : http://altarfinch.upload.free.fr/tuyaux.rar
#3
Hello,

I am having troubles with the serialization process :
I can serialize an object in jPCT, deserialize it in jPCT-AE and display it, but, when I add a MTL file, I am getting this error :
Quotejava.lang.RuntimeException: [ 1331547415172 ] - ERROR: Can't deserialize object: [ 1331547415170 ] - ERROR: A texture with the name '__obj-Color:149/149/149' has been declared twice!

Here is my MTL, I tried to remove the texture lines without success : I am getting the same error

# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# Filchier créé : 06.03.2012 18:30:33

newmtl ReviaMonoColorLightMapMat_style_de_rendu
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 1.0000 1.0000 1.0000
Kd 1.0000 1.0000 1.0000
Ks 0.0000 0.0000 0.0000
Ke 0.0000 0.0000 0.0000
map_Ka ConcreteBare0321_5_S.jpg
map_Kd ConcreteBare0321_5_S.jpg

newmtl 15___Default
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.5882 0.5882 0.5882
Kd 0.5882 0.5882 0.5882
Ks 0.0000 0.0000 0.0000
Ke 0.0000 0.0000 0.0000

newmtl Mat_riau__1900
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.5880 0.5880 0.5880
Kd 0.5880 0.5880 0.5880
Ks 0.0000 0.0000 0.0000
Ke 0.0000 0.0000 0.0000
map_Ka MetalFloorsBare0035_1_S.jpg
map_Kd MetalFloorsBare0035_1_S.jpg

newmtl Mat_riau__1744
Ns 5.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.5882 0.5882 0.5882
Kd 0.5882 0.5882 0.5882
Ks 0.4500 0.4500 0.4500
Ke 0.0000 0.0000 0.0000

newmtl 01___Default
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.1137 0.1137 0.1137
Kd 0.1137 0.1137 0.1137
Ks 0.1800 0.1800 0.1800
Ke 0.0000 0.0000 0.0000

newmtl INOX_Main
Ns 22.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.5882 0.5882 0.5882
Kd 0.5882 0.5882 0.5882
Ks 0.1800 0.1800 0.1800
Ke 0.0000 0.0000 0.0000

newmtl ReviaMonoColorLightMapMat_style_de_rendu2
Ns 10.0000
Ni 1.5000
d 1.0000
Tr 0.0000
Tf 1.0000 1.0000 1.0000
illum 2
Ka 0.4353 0.3294 0.2078
Kd 0.4353 0.3294 0.2078
Ks 0.0000 0.0000 0.0000
Ke 0.0000 0.0000 0.0000


Any clue ?

Thank you.

Yours faithfully,
Paul George.
#4
Support / Re: OpenGL matrix to Camera
March 08, 2012, 12:15:55 PM
Dear sir,

I am currently integrating Vuforia (formerly QCAR) with jPCT but 3D objects are not well aligned in the corners of the screen.
For the moment I am only using the modelview matrix. I think I should use the projection matrix, but since it's not possible I have to configure the camera instead. Problem is : There is no function to set the distortion... I think it's not taken into account in the projection matrix calculation of jPCT.

Any clue ?

Yours faithfully,
Paul George.