User posts hacaro
14 February 2018 19:28
Hi All, i've a problem with this command
python3 converter.py -d /Applications/blend4web_ce/projects/my-project/ convert_pvr
i receive these error :
Couldn't find PVRTexTool.
Skipping PVR conversion.
According with the documentation, i've installed the PVRTexTool
an then i've tried to set a temporary ENV variable with : export PATH=/Applications/Imagination/PowerVR_Graphics/PowerVR_Tools/PVRTexTool/CLI/OSX_x86/
but after i try to launch the ptyhon3 converter.py ecc ecc….
i receive an error bash error python3 command not found.
I've also tried to set a persistent variable on .bash_profile but nothing.
There is someone that can explain me in detail the step that i need to follow in order t make it working ?
Thanks to all
Regards.
python3 converter.py -d /Applications/blend4web_ce/projects/my-project/ convert_pvr
i receive these error :
Couldn't find PVRTexTool.
Skipping PVR conversion.
According with the documentation, i've installed the PVRTexTool
an then i've tried to set a temporary ENV variable with : export PATH=/Applications/Imagination/PowerVR_Graphics/PowerVR_Tools/PVRTexTool/CLI/OSX_x86/
but after i try to launch the ptyhon3 converter.py ecc ecc….
i receive an error bash error python3 command not found.
I've also tried to set a persistent variable on .bash_profile but nothing.
There is someone that can explain me in detail the step that i need to follow in order t make it working ?
Thanks to all
Regards.
08 February 2018 14:01
07 February 2018 13:50
Hi All, I have a little problem with my project.
I the project I have a mesh Dome where is projected an equirectangular image.
at the center of the dome there is a motorbyke. For project shadows of the bike at the floor of the dome, i've checked the receive shadows checkbox and all it's ok in terms of shadows but, I see the shadows of the mesh faces in the top part of the dome (see the screenshot). someone can help me to solve this effect ?
Thanks In advance, regards.
I the project I have a mesh Dome where is projected an equirectangular image.
at the center of the dome there is a motorbyke. For project shadows of the bike at the floor of the dome, i've checked the receive shadows checkbox and all it's ok in terms of shadows but, I see the shadows of the mesh faces in the top part of the dome (see the screenshot). someone can help me to solve this effect ?
Thanks In advance, regards.
05 February 2018 20:16
05 February 2018 18:07
05 February 2018 17:25
Thanks to my friend Михаил, that linked me the solution ! (translated in english :-D)
i've solved the rotate problem. here the solution : https://www.blend4web.com/ru/forums/topic/4208/?page=1#post-20331
posted by Konstantin Khomyakov :
In the SDK file src / addons / camera_anim.js replace
this line with
if (_is_camera_stop_rotating || Math.abs (e )>= Math.abs (angle_phi)) {
but this line on
if (_is_camera_stop_rotating || Math.abs (e) >= Math.abs (angle_theta)) {
This solution works really fine, now i can put negative radians in the rotate method !.
Remain only the Zoom in and Zoom Out problem.
i've solved the rotate problem. here the solution : https://www.blend4web.com/ru/forums/topic/4208/?page=1#post-20331
posted by Konstantin Khomyakov :
In the SDK file src / addons / camera_anim.js replace
this line with
if (_is_camera_stop_rotating || Math.abs (e )>= Math.abs (angle_phi)) {
but this line on
if (_is_camera_stop_rotating || Math.abs (e) >= Math.abs (angle_theta)) {
This solution works really fine, now i can put negative radians in the rotate method !.
Remain only the Zoom in and Zoom Out problem.
05 February 2018 15:44
03 February 2018 11:57
Hi all, i've another super newbie question. Im looking for some html buttons that can rotate(left, right), Zoom (in/out) my target camera.
I've found the rotate_camera(cam_obj, angle_phi, angle_theta, timeopt, cbopt) method.
and ive impemented it it seems works fine on one side rotation eg :left but how i can invert the rotation eg right ?
here my piece of code :
function button_click_left(e) {
var cam_obj = m_scenes.get_active_camera();
m_cam_anim.rotate_camera(cam_obj,0.3,0,1000);
}
it works fine and smooth but only in one direction.
And also someone can suggest me how can i use to zoom in and out the camera smoothly ?
and for the pan (left,right,top,down) ?
Thanks in advance for the support to all ;-)
Bye bye
I've found the rotate_camera(cam_obj, angle_phi, angle_theta, timeopt, cbopt) method.
and ive impemented it it seems works fine on one side rotation eg :left but how i can invert the rotation eg right ?
here my piece of code :
function button_click_left(e) {
var cam_obj = m_scenes.get_active_camera();
m_cam_anim.rotate_camera(cam_obj,0.3,0,1000);
}
it works fine and smooth but only in one direction.
And also someone can suggest me how can i use to zoom in and out the camera smoothly ?
and for the pan (left,right,top,down) ?
Thanks in advance for the support to all ;-)
Bye bye