Jump to content

Documentation!


GameMonetize
 Share

Recommended Posts

I do not think people have to re-focus their link. I think what is see is the wiki.

at worst people will target their link when the tutorials link will be dead, but as long as he is not dead, people will not do. That's what I think.

I know, me and my radical methods ... :ph34r:   :D

Link to comment
Share on other sites

Hi,
 
I made a small correction in "Advanced usage" of tutorial "SceneOptimizer tool".
var result = new ???.SceneOptimizerOptions(60, 2000);
All BABYLON. was missing. For once, I will not bother DK :)

 
I also completed  the tutorial "How to use instances", to create "Instance with 3ds max": (If someone want to put a screenshot of the software in English, do not hesitate.)
 
post-5292-0-54659600-1415793353_thumb.jp

Link to comment
Share on other sites

  • 3 weeks later...

As of commit 0865aa69ac, BabylonJS now appears to have support for alpha-levels in its vertex colors. How exactly is that used? (I may answer my own question later)

 

I assume this:

 

colors = [
  [1,0,0],
  [0,1,0],
];

 

can become this:

 

colors = [
  [1,0,0,0.5],
  [0,1,0,1],
]

I will test shortly and report my findings.

 

EDIT: Welp. It seems to be totally broken, at least for my CEWBS library. Both methods cause a GL Error. :/

EDIT2: Nevermind, all colors now require the four-number format, I forgot to change a multiple. However, changing the fourth value appears to have no impact on the color/transparency.

Link to comment
Share on other sites

you're right colors need now to be a  rgba format

to activate support for vertex alpha: mesh.hasVertexAlpha = true

So that is a potential backwards-compatibility breaker. Good to know.

 

And yeah, I discovered hasVertexAlpha yesterday while looking through the source. (My internet was out the entire day due to a snapped internal wire.)

Link to comment
Share on other sites

This is certainly a very exciting library, and from what I have seen, the documentation looks great. Just one request. For those like myself that may not have Internet at the same time that scheduling permits reading it, would it be possible to provide a down-loadable version?

 

Many thanks, and have a great day.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...