Holloweye Posted May 14, 2010 Share Posted May 14, 2010 1. I have been working with making my own little LandscapeEditor. But I had some problem to find information about SetVertexNormal(TSurface,0,Vec3) (I have been looking at the wiki). So Basicly the question is if anyone can explain how it works? 2. I thought about to make it possible to load a heightmap to my editor but then I thought there might be a missing function for me to get it work. Is there a function to get the color of a pixel on screen something like this: int:GetColorRed(int x, int y); int:GetColorGreen(int x, int y); int:GetColorBlue(int x, int y);. I know there is on Blitz Max but what about for the Engine? 3. Is it possible to paint a part of a mesh? Like I want to paint vertex 0-3 with grass and then 4-7 with brick. Thanks Quote Link to comment Share on other sites More sharing options...
Gandi Posted May 16, 2010 Share Posted May 16, 2010 how what works? SetVertexNormal sets the Normal of a Vertex?? TSurface is the surface of the model the integer says which Vertex you want to edit and the Vec3 is the Normal you assign. Quote Link to comment Share on other sites More sharing options...
Holloweye Posted May 16, 2010 Author Share Posted May 16, 2010 What is the Normal of a Vertex? (Sorry for sounding stupid) Thanks for answers. Quote Link to comment Share on other sites More sharing options...
Gandi Posted May 16, 2010 Share Posted May 16, 2010 maybe that helps.. Click me! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.