Форум

Сообщения, созданные пользователем ez2rfc
08 февраля 2016 12:59
http://reaviu.com/wgl/sl/REAViU_diadora_shoes/

when I open my project on Android, Chrome. It looks good.

but when I load my project on safari, I-phone, it's zagged.

I set my canvas resolution factor to 2.

and m_config to P_LOW

is it the canvas resolution issue?
08 февраля 2016 12:49
I'm sorry. I found that the newest version is working very well

Only some of my project that I made with previous version is not working.

Thank you for replying me :)
07 февраля 2016 14:07
Hi there.

when I test the scene with Fast Preview, Viewport Alignment works perfectly.

But when I export as json and test it from Project Manager, It dosen't align to side.

How can i fix this??
12 января 2016 04:10
Thank you very much! :) it works perfectly
11 января 2016 17:01
Hi guys :)

How can I build my own preloader?

what i understand is put the code like below to my project js file.. but i still can't figure out what is the roll of "christmas_tree.json" file and how to create it. I found the blend file and opened but I can't find anything related to the preloader scene.

Can you give me some hint or link that I can look?

"use strict";

b4w.register("new_year_main", function(exports, require) {


var m_preloader = require("preloader");


var PRELOADING = true;



function init_cb(canvas_elem, success) {

if(!success) {
console.log("b4w init failure");
return;
}
m_app.enable_controls();

if (PRELOADING)
m_preloader.create_simple_preloader({
bg_color:"#00000000",
bar_color:"#FFF",
background_container_id: "background_image_container",
canvas_container_id: "canvas3d",
preloader_fadeout: true});



load();
}

function load() {
if (DEBUG)
_assets_dir = "../../deploy/assets/new_year/";
else
_assets_dir = "../../assets/new_year/";
var p_cb = PRELOADING ? preloader_cb : null;
m_data.load( _assets_dir + "christmas_tree.json", load_cb, p_cb, true);
}


10 января 2016 16:35
Wow!!! It works. Thank you very much!!!!!!!
10 января 2016 12:15
Hi there. I'm pretty new to coding.

I tried to put code like below.



"use strict"

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

// import modules used by the app
var m_app = require("app");
var m_data = require("data");
var m_config = require("config");

m_config.set("canvas_resolution_factor", 1010);
m_config.set("quality", 2);

….



I'm not sure that the way i use the quality module..

can you help me to check my link?

http://reaviu.com/wgl/Sample/Sample-nikeShoes/

still blurry on mobile device. I can see the texture more clearly but the whole looking is not that improved.


it looks like when I publish scene without Use Device Pixel Ratio option on goocreate.com.

07 января 2016 04:53
06 января 2016 04:02
Oh and, I found the issue that move camera node, after i close the blender and open it again, the duration is not working so i need to delete and recreate the node.

Animation is not working correctly when the object is parented.
06 января 2016 03:47
Hi there.

How can I set Canvas Resolution Factor when i export json to my project?

And when I upload my project on my server and view on mobile device, it looks blur.

How can I fix this issue?