Forum Replies Created
-
AuthorPosts
-
EmmaCustomer
Thanks Perfect !!!,
I don’t know why, in past I follow your step but don’t worked.
Now It’s working !!
However thanks for your help zjbcool!
Emma
EmmaCustomerHi,
I’ve create new project named “video”, in Blender 2.79, I’ve video.blend where there’s only a plane called screen and other parameters called always screen (see attachments).
In body of file video.html I wrote<video id=“video” autoplay=“autoplay” loop=“loop” width=“300” height=“150”> <source src=“sintel.mp4” type=“video/mp4; codecs="avc1.42E01E, mp4a.40.2"” /> <source src=“sintel.ogv” type=“video/ogg; codecs="theora, vorbis"” /> <video>
and in file video.js I wrote
function runCode(app) { // 复制下面的代码到runCode下面 var screen, video, texture, material video =document.getElementById(“video”); screen = app.scene.getObjectByName(“screen”); texture = new v3d.VideoTexture(video); texture.minFilter = v3d.LinearFilter; texture.format = v3d.RGBFormat; material = new v3d.MeshBasicMaterial({map : texture}); screen.material = material; app.animate(); }
but at the end I’ve only white page .
I don’t know where I’m wrong
Emma
EmmaCustomerHi zjbcool,
I’ve already read your page (https://zjbcool.com/video-texture.html), but ( I’m not programmer ) I don’t understand How to replace material to video .
Have you an easy demo ?
Best
EmmaEmmaCustomerThanks at all,
I’ll try the way of shape keys, I think is right way….. I hope
Emma
EmmaCustomerHere link,
There’re all file *.blend included, there is a lot of confusion, I took a few things from all the projects to see what I could do .
There are many problems: very heavy files, incorrect shadows, not really photorealistic materials.
But first problem is very heavy loadingEmma
EmmaCustomerHi Yuri,
I’d like to show you my example project, but it’s big ( <30mb ) so I can’t to attach it.
how can i show you?
Emma
EmmaCustomerI tried to jump on Blender 2.8 …. problem si always present, and also born many other problems because there’re fewer shadows’s parameters.
Also lights in browser with sneak_peek are completely differents
Passage from 2.79 to 2.8 will not be painless.
Emma
EmmaCustomerOps,
I realized now that i file .blend there aren’t because size are big !
EmmaCustomerI understand level of softness, so banding isn’t a problem.
The problem that I can’t fix is that of the distance of the shadow, like in image…
Emma
EmmaCustomerI’ll try to send it as soon as possible.
But, is there a function to lighten up the scene?
I find the problem that if a user has a slow connection or an old computer, before loading the scene there is a “hole”.Emma
EmmaCustomerYes, I’ll try to use html like this:
———–<body> <div id="container"></div> <div class="html-embed w-embed w-iframe"><iframe width="100%" height="100%" frameborder="0" allowfullscreen="" src="example.html"></iframe></div> <div class="interface-color-panel w-clearfix"></div><a>index.html</strong>" id="reset_pose_button" class="reset-pose-button w-button"></a> </body>
———
but I don’t like much, because it will be a “big jump” of webpage,…. i thinksEmma
EmmaCustomersorry,stupid question
EmmaCustomerMy God, Verge3D is really like a drug, I can’t break away !!!
However, now I trying also 2.11pre2.
Autorotation is a function to build or is a puzzle already builded ?
Emma
EmmaCustomerOhh, Yes thanks !!! I understand my problem and resolve it.
Problem “outline” was conflict with function “mouse hovered”, when I can, I’ll explane you all my steps.
Last things, and after I’ll say u “good weekend”, if exist a function to reload or restart of the scene ?
Hyper Mega Thanks
Emma
EmmaCustomerHi Yuri,
After not few difficults, I resolve my questions.
Two things:
When object “A” finish his movement, is’t possible to pulse outline object “B” ?
When object “A” finish his movement, is’t possible to change position on camera ? Because I know before but not after…
Always thanks
Emma
-
AuthorPosts