Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I port from QTEK to ClayGL? #43

Closed
cx20 opened this issue Jan 19, 2018 · 2 comments
Closed

How do I port from QTEK to ClayGL? #43

cx20 opened this issue Jan 19, 2018 · 2 comments
Labels

Comments

@cx20
Copy link

cx20 commented Jan 19, 2018

I am currently trying to port samples from QTEK to ClayGL.

The triangle could be displayed with shaders without problems.
http://jsdo.it/cx20/KVOj
image

However, the rectangle was not displayed.
http://jsdo.it/cx20/ulYh

I expected the following results.
image

Could you tell me how to fix it?

@cx20
Copy link
Author

cx20 commented Jan 19, 2018

I'm sorry, I solved it myself.
This sample needed the following lines.

mesh.frontFace = clay.Renderable.CW;

@cx20
Copy link
Author

cx20 commented Jan 19, 2018

I ported the next samples from QTEK to ClayGL.

  1. VBO and custom shader case
Samples QTEK ClayGL
image Link Link
image Link Link
image Link Link
image Link Link
  1. built-in primitive and builtin shader case
Samples QTEK ClayGL
image Link Link
image Link Link
image Link Link
image Link Link

@cx20 cx20 closed this as completed Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants