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 - tao

Pages: [1]
1
Support / Object3D.setTextureMatrix() issue?
« on: April 12, 2014, 10:28:02 am »
Hi,

I put multiple textures into one texture, and using setTextureMatrix() to play frame animations. The animations works fine, but seems the semi-transparency pixels on original texture becomes fully opaque when it rendered to screen. Can anyone help? Thanks.

2
Support / How to make UV animation effect?
« on: April 04, 2014, 10:54:06 am »
Hi,

I have a plane, and how can I make UV animations? I didn't find a way to change the UV attribute of a vertex. Pls help~

Thanks

3
Support / Post processing on the rendered scene
« on: March 21, 2014, 01:02:10 pm »
Hi,

Can I add some image effects, like blur, after the scene getting rendered? I see ITextureEffect interface, is that help?

4
Support / How to make a screen snap
« on: March 17, 2014, 02:02:29 pm »
Hi,

I'm trying to create a snapshot of current frame. The way I'm thinking is like,

1) Create a FrameBuffer, and setRenderTarget() to a self-created Texture.
2) Call World.renderScene(fb) and World.draw(fb), and the current frame will render to the above Texture.
3) Then I can use the texture and display is as a snapshot or save it.

Is that OK?

Thanks.

5
Support / How to draw a rotated UI image?
« on: March 17, 2014, 03:30:40 am »
Hi,

In my game all UI images are drawn using FrameBuffer.blit() method. Can I add rotation to these images? From the api docs i don't find blit() has such feature... Or, any idea how to draw a rotated UI images?

Many thanks!

6
Support / Fog effect
« on: March 14, 2014, 02:52:13 am »
Hi,

Does JPCT support Fog effect? Like in U3D, I can specify the the distance and the color of the fog? If not, any clue on how to implement fog effect?

Many thanks!

7
Support / Draw calls and frame rate
« on: March 05, 2014, 08:40:43 am »
Hi,

Is there a way to get the number of draw calls in each frame render? I want to improve the frame rate, and first I need to figure out "Am I drawing too many objects?".

Thanks

Pages: [1]