You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pr...@googlegroups.com
You do not create an Image(), this creates an HTMLImageElement. You
are incorrectly setting the video as a source to the image element.
Just pass an HTMLVideoElement to pre3d, for example,
start3d(document.getElementsByTagName('video')[0])
Sean Shoats
unread,
Jan 28, 2013, 10:16:54 AM1/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pr...@googlegroups.com
Thanks alot for pointing out that error out, I've made a jsfiddle to the video texture im having problems with... I've added the HTMLVideoElement to pre-3D.. I'm just not sure to what properties or attributes should I add it to..
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pr...@googlegroups.com
Sorry that I will not be able to help you debug and better learn
JavaScript. However I can quickly look and tell you that
getElementsByTagName returns a NodeList, which is why you should take
the first element of it, or look up the element in a different way. I
would suggest getting a good book on JavaScript and the DOM.
Good luck,
Dean
Sean Shoats
unread,
Feb 1, 2013, 8:28:57 PM2/1/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pr...@googlegroups.com
No problem Dean, Thanks for your help... Your right I defintely have to better learn javascript, I just brought Nicholas C. Zakas (Javascript For Developers) as I will be learning javascript effectively... The good thing about your Pre3D rendering engine is its really not that difficult to learn as it uses javascript to draw 3d in any browser... verses other engines such as webgl, thre..js etc..... Wish me luck!! :)