Forum

User posts SVM
14 April 2020 02:54 [ON MODERATION]
SVM
Hello, Need help for the following:

OPTIMIZATION

-We have this project a caravan configurator https://svmsites.com.au/Roadstar_KR1091/, is there a way or is it possible to Load the external(outer) objects first separately with the internal objects and only loads the internal once the user triggers the camera to get inside.

-We have this model https://svmsites.com.au/Roadstar_KR1091/ which is already LOW on Triangles and if we're gonna decrease more its going to affect the quality and its really taking sometime to load, if there are other methods or tips we could use to fasten the loading time.

REPORTING

-Is there available method in the API where it takes screenshots of all the views(top, left, right,rear, and insides etc) of the caravan model. Cause we're planning to have a final report after a user is done on configurating the model, its gonna show the specifications and the screenshots of the caravan alongside with it.


CAMERA API
https://svmsites.com.au/Roadstar_KR1091_NEW/
-what I'm trying to achieve is to get the camera look at an object but with the correct angle. How do we get the exact correct coordinates and a way to angle the camera correctly. the following below is one of the camera functions:

var start_anim = document.getElementById("cameraTrigger");
start_anim.addEventListener("click", function(e) {
    var cam_obj = m_scenes.get_active_camera();

    var final_cam_pos_obj = m_scenes.get_object_by_name("cam_final_pos");
    var final_target_obj = m_scenes.get_object_by_name("caravanBodyExteriorTop");

    m_scenes.hide_object(hide1);
    //rotate_final_cam_pos_object_to_final_target(final_cam_pos_obj, final_target_obj);

    m_cam.static_setup(cam_obj);

    var set_target_mode = function() {
        var target = m_trans.get_translation(final_target_obj, _vec3_tmp2);
        m_cam.target_setup(cam_obj, {pivot : target});
    };

    m_cam_anim.move_camera_to_point(cam_obj, final_cam_pos_obj, 8.0, 0.8, set_target_mode);


}, false);

var cameraReset = document.getElementById("cameraReset");
cameraReset.addEventListener("click", function(e) {
    m_scenes.show_object(hide1);
    reset_camera_action();
}, false);

function rotate_final_cam_pos_object_to_final_target(final_pos_obj, final_target_obj) {
    var final_pos = m_trans.get_translation(final_pos_obj, _vec3_tmp);
    var final_target = m_trans.get_translation(final_target_obj, _vec3_tmp2);

    m_cam.static_set_look_at(final_pos_obj, final_pos, final_target);
    m_cam.correct_up(final_pos_obj);
}



Thanks for the help.
14 April 2020 01:37 [ON MODERATION]
SVM
We're looking for a B4W developer to assist us with finishing a project we're a little stuck on.

Our developer has been working on a new project and has become stuck on a few aspects due to this being our first time with this software. As a result we're looking for a developer to jump and lend us a had to get this project finished.

We're happy to pay you for your time, providing you're able to assist us. We currently need help with changing camera views and optimising the the whole experience. The project is similar to some of the car colour selectors that have been created in the past.

We estimate this will only require 1-2 weeks worth of work at most, you're welcome to work on it in your spare time for your normal jobs if needed.

Please feel free to reach out if you think you can assist

hello@smartviewmedia.com.au
14 April 2020 01:36 [ON MODERATION]
SVM
We're looking for a B4W developer to assist us with finishing a project we're a little stuck on.

Our developer has been working on a new project and has become stuck on a few aspects due to this being our first time with this software. As a result we're looking for a developer to jump and lend us a had to get this project finished.

We're happy to pay you for your time, providing you're able to assist us. We currently need help with changing camera views and optimising the the whole experience. The project is similar to some of the car colour selectors that have been created in the past.

We estimate this will only require 1-2 weeks worth of work at most, you're welcome to work on it in your spare time for your normal jobs if needed.

Please feel free to reach out if you think you can assist

hello@smartviewmedia.com.au
07 February 2020 04:59
SVM
Looks like both Verge3D and B4W are shit at communicating with their customers. Never see new content from B4W and I've given up trying to workout how to access the Sudio, even tho my company paid for the pro licence. Their customer service and costumer support is rubbish.

Also, it seems both Verge3d and B4W are trying to say they created the rover project.
08 October 2019 08:53
SVM
hello everyone, I have the following code just a part of my whole program:
"use strict"

// register the application module
b4w.register("sample_project_main", function(exports, require) {

// import modules used by the app
    var m_app = require("app");
    var m_cfg = require("config");
    var m_data = require("data");
    var m_preloader = require("preloader");
    var m_ver = require("version");

    var m_mouse = require("mouse");
    var m_tex = require("textures");
    var m_scenes = require("scenes");
    var m_cont = require("container");

    var m_rgba = require("rgba");


I'm getting black screen whenever I add
var m_rgba = require("rgba");
and I needed it to use set_diffuse_color,

thanks for the help!