Simplygon import textures issue - stl

it would be great if someone can help me. I'm trying to import a textured model from Blender to Simplygon 8. The problem is that all gone fine except that the textures are not imported on Simplygon so I can't optimize them.
The model is exported to FBX, OBJ and STL but none of them import the textures :(
Thank you :)

Related

Use MiniGrid environment with stable-baseline3

I'm using MiniGrid library to work with different 2D navigation problems as experiments for my reinforcement learning problem. I'm also using stable-baselines3 library to train PPO models. but unfortunately, while training PPO using stable-baselines3 with MiniGrid environment, I got the following error.
Error
I imported the environment as follows,
import gymnasium as gym
from minigrid.wrappers import RGBImgObsWrapper
env = gym.make("MiniGrid-SimpleCrossingS9N1-v0", render_mode="human")
env = RGBImgObsWrapper(env)
env = ImgObsWrapper(env)
The training script using stable-baseline3 is as follows,
model = PPO('CnnPolicy', env, verbose=0)
model.learn(args.timesteps, callback)
I have done a quick debug and found a potential lead. I don't know if this is the real cause.
When I tried to load the environment directly from the gym the action space <class 'gym.spaces.discrete.Discrete'>. But when loaded from MiniGrid the action space is <class 'gymnasium.spaces.discrete.Discrete'>. Any help to sort out the problem is highly appreciated. Thanks in advance
That's the correct analysis, Stable Baselines3 doesn't support Gymnasium yet, so checks on gym.spaces.discrete.Discrete fail against gymnasium.
The following post answer explains how to workaround that, based on a currently open PR: OpenAI Gymnasium, are there any libraries with algorithms supporting it?.

No module named ‘points.datasets’ oder points

i am tried to implement this model https://github.com/rusty1s/pytorch_geometric/blob/master/benchmark/points/point_cnn.py on 3D Mesh Faust dataset. However, this failure occurs and i could not solve by !pip intall "package". can i get help thank you.

INFO:tensorflow:Summary name conv2d_1/kernel:0 is illegal

I am trying to use the tensorboard callback in keras. When I run the pretrained inceptionv3 model with the tensorboard callback I am getting the following warning:
INFO:tensorflow:Summary name conv2d_95/kernel:0 is illegal; using conv2d_95/kernel_0 instead.
I saw a comment on Github addressing this issue. SeaFX on his comment pointed out that he solved it by replacing variable.name with variable.name.replace(':','_'). I am unsure how to do that. Can anyone please help me. Thanks in advance :)
Not sure on getting name replacement to work however a workaround that may be sufficient for your needs is:
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.WARN)
import keras
This will turn off all INFO level logging but keep warnings, errors etc.
See this question for a discussion on the various log levels and changing them. Personally I found setting the TF_CPP_MIN_LOG_LEVEL environment variable didn't work under Jupyter notebook but I haven't tested on base Python.

Away3d - load model with bones

I’m trying to create simple model in 3dsmax. My model is just a square with two bones.
I wonder how to export it (whatever format), import to Away3d and control the bones.
I know that it’s must load a skeleton and get the bones by a name.
I was trying to use Prefab, but it didn’t work.
Any ideas or examples will very usefull.
Thanks!

3ds max export model in stl format

I would like to export the model I have in 3ds max to stl format.
Very easy so far.
But I would like to rotate and move my model a bit and when exporting the model to stl format the stl data file should reflect rotation and translation but it doesn't.
It seems that regardless of what I'm doing with the model in 3ds max, the stl export file contains the original coordinates of the faces.
What can I do? Does any know how to do it? Thank you!
Apply xForm modifier to the object and use it to transform your model.
This would change the vertex co-ordinates with respect to the pivot and you should be able to export this edited geometry.