Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
draw 3d line

tito100
Registered User
Quote
2013-06-27 22:25:57

Hi, can you help me.
I'm trying drawing 3d line, but without success.
Im try modifi this one http://pastebin.com/2vB3T4fF which works.
I have this http://pastebin.com/wj0fPCsW

thanks.


niko
Moderator
Quote
2013-06-29 08:02:40

From your code, it looks ok. Not sure what might be the problem there, though. Did you try debugging it?


tito100
Registered User
Quote
2013-06-29 14:22:10

problem is with shader what Im create Program3DDrawingColorOnly.
when I not set d.useProgram(this.Program3DDrawingColorOnly);
line is drawing. but without color, I get error for Uniform4f.

second problem is, I dont know how to draw this line. now Im create custom MySceneNode extends Mesh (from tutorial3) and drawing in MySceneNode.prototype.render . is it good way ?

did you not thinking abaut product like premium support ?


niko
Moderator
Quote
2013-07-04 07:03:35

Yes, the way you are doing it sounds pretty ok for me.
There is some premium support for licensees of CopperLicht (it costs a bit): http://www.ambiera.com/copperlic...

I'll take a look if I can add a 3D line drawing feature to the engine with the next update.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact