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.


Topics - imiyar

Pages: [1]
1
Support / Rendering flat surface without smoothing the edge
« on: May 04, 2017, 11:29:43 pm »
Hi again,

I want to load a model of a building which has a lot of hard edges, and it looks very weird because all the edges are smoothed. Is there a way to call the build() method without calling calcNormals()? I also checked the IVertexController class, but I don't know how to use it... Is there any example code for IVertexController?

I attached an image of my building model with this post.

2
Hi friends,

I am trying to integrate jPCT-AE with Vuforia 6.2 sample code and it is not working well.

The problem I have is that I cannot see the model unless I translate it along the Z axis by a negative number. It seems that the model is rendered "beyond the scene". But if I add a line like cylinder.translate(0,0,-100), the model will appear but it doesn't stay on the same position on the marker when I move the phone.

The code I use is from the Vuforia559_jPCT-AE repo on Github. I replace the ImageTarget part in Vuforia 6.2 sample with the code in src/com/vuforia/samples in Vuforia559_jPCT-AE. No other changes beside this.

I have no clue about how to deal with this problem... Anyone has some ideas? Thanks!!

Pages: [1]