GithubHelp home page GithubHelp logo

assetgen's People

Contributors

cansecogpc avatar linko-3d avatar ristovski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

assetgen's Issues

Game asset tool - Export asset doesn't work on *nix systems

Hello, there's a double slash hardcoded path that's preventing export to work on *nix systems.

screen shot 2017-10-15 at 18 11 10

I tested this fix on Mac, should work fine on Ubuntu and the like; need test in windows.
Change GT_user_interface.py class ExpObj into:

ExpObj.txt

And you need to add

import sys

at the beginning of GT_user_interface.py

Armature' object has no attribute

Python: Traceback (most recent call last):
File "/home/jayjames/.config/blender/2.93/scripts/addons/AssetGen-master/GA.py", line 208, in execute
bpy.context.object.data.remesh_voxel_size = myscene.ga_voxelsize
AttributeError: 'Armature' object has no attribute 'remesh_voxel_size'

location: :-1

Does this work with Blender 2.81a?

Simple sphere, Blender 2.81a macos, blows up "Permission denied: 'SM_Sphere.glb'"

Traceback (most recent call last):
  File "/Users/n/Library/Application Support/Blender/2.81/scripts/addons/AssetGen-master/GA.py", line 608, in execute
    bpy.ops.export_scene.gltf(export_format='GLB', export_selected=True, filepath=os.path.join(path, "SM_" + name))
  File "/Applications/Blender.app/Contents/Resources/2.81/scripts/modules/bpy/ops.py", line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/2.81/scripts/addons/io_scene_gltf2/__init__.py", line 420, in execute
    return gltf2_blender_export.save(context, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.81/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 41, in save
    __write_file(json, buffer, export_settings)
  File "/Applications/Blender.app/Contents/Resources/2.81/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py", line 135, in __write_file
    buffer)
  File "/Applications/Blender.app/Contents/Resources/2.81/scripts/addons/io_scene_gltf2/io/exp/gltf2_io_export.py", line 80, in save_gltf
    file = open(export_settings['gltf_filepath'], "wb")
PermissionError: [Errno 13] Permission denied: 'SM_Sphere.glb'

location: /Applications/Blender.app/Contents/Resources/2.81/scripts/modules/bpy/ops.py:201



location: <unknown location>:-1

errors in UV if 512px+

Thanks for this gem! This is very promising.

I have issues with texture baking though.
Adding Suzanne, I applied a free blenderkit texture and tried generating asset as glb with various texture resolutions (squares).
I usually end with black zones on some faces. So I suspect a UV Map error.
image
I enclosed an exported result.
Suzanne.zip
suzanne.zip

I also noticed that "Selected to active" always throws an error, even with a cube.

Finally, I always get errors in the Blender 2.8beta (feb 2019) console:

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:157
rna_uiItemR: property not found: GA_Props.ga_convexmesh

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:153
rna_uiItemR: property not found: GA_Props.ga_combined

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:157
rna_uiItemR: property not found: GA_Props.ga_convexmesh

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:153
rna_uiItemR: property not found: GA_Props.ga_combined

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:157
rna_uiItemR: property not found: GA_Props.ga_convexmesh

C:\Users\nobody\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\AssetGen-master\GA_user_interface.py:153
rna_uiItemR: property not found: GA_Props.ga_combined

Any idea?

Getting an error when I click generate textures

blender 2.79.

are there any assumptions about the mesh materials perhaps?

also, I notice that in the video you have a generate aldedo not generate textures and the gradient icons are different. is this repo out of date?

Traceback (most recent call last):
  File "C:\Users\myself\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\AssetGen\GM_user_interface.py", line 1312, in execute
    scene.node_tree.nodes[c_mixArray[0]].inputs[1])
IndexError: list index out of range

location: <unknown location>:-1

Syntax Error crash when attempting to enable add-on

Installing the add-on works fine, but when I try to enable it, I get this:

Traceback (most recent call last):
  File "/Users/somebody/Downloads/blender-2.79-macOS-10.6/blender.app/Contents/Resources/2.79/scripts/modules/addon_utils.py", line 331, in enable
    mod = __import__(module_name)
  File "/Users/somebody/Library/Application Support/Blender/2.79/scripts/addons/AssetGen-master-2/__init__.py", line 21
    ga_autoexportglb : bpy.props.BoolProperty(
             ^
SyntaxError: invalid syntax

Does AssetGen not support MacOS?

Smart UV Project Poll Incorrect

Hey!

This is an awesome addon, and I'm super impressed with it!

When I try to generate a game ready mode of anything in my scene, it aborts the operator with an error message stating that the poll for edit mode is incorrect:

Poll_Error

This should be a fairly straightforward fix, but I've never done anything like this myself.

Thanks!

Vertex Color unsupported?

Greets,

I'm running this on some of my assets using vertex color instead of the gradients, my albedo maps are coming out black. Is there some trick to getting it to bake vertex colors?

unify dimension scale before/after asset gen?

Greets!

I found a bug where I can crash assetGen if my model is too large. (after importing usually)
I found that if I scale the model down to the default cube size range and apply the transform, assetGen works fine. seems like a bu with precision on blender's part. Perhaps an option to "unifying" the dimensions of the asset into a default range and then rescale afterwards to the original dimensions might be a good idea?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.