PNG Texture File from Blender instead of a mtl file - export

I was trying out ARCore by Google. But I'm not able to export my 3D Model in Blender to a obj and png combination instead of the default obj and mtl combination. I'm kinda new to Blender. I also tried this from Stack Exchange but with no avail.

If you are trying to user the ARCore this maybe be a solution if your focus is Sceneform.
After export the .obj and .mtl create a folder in Android using the Sample Data Directory (to avoid this making part of your project)
Inside this folder add the .obj and .mtl
Go to Android Preferences > Plugins and search for "Google Sceneform Tools (Beta)"
Clicking with the right button on the .obj you can select "Import Sceneform Asset"
This will create the .sfb and .sfa file, already ready to use.
And in your App Gradle you should find new lines like this:
sceneform.asset('sampledata/NAME_OF_FILE.obj',
'default',
'sampledata/NAME_OF_FILE.sfa',
'src/main/assets/NAME_OF_FILEl')

Related

team work with codename one

i am a student and i am a member of a group of five...
We have to work in the same project using git and we are using Scrum method in our work, so , we need some guide and best practice and answers before starting...we will be so happy with your informations.
can we use différent IDE (intellij and Netbeans)... if yes, the .gitinore file will contains every IDE 's specefic .gitignore file?
You can use this to get started: https://www.codenameone.com/blog/tip-using-git-for-codename-one-projects.html
e.g. sample gitignore from https://github.com/codenameone/MaterialScreensUIKit
*.jar
nbproject/private/
build/
nbbuild/
dist/
lib/CodenameOne_SRC.zip
psds/.DS_Store
.DS_Store
In your theme editor make sure the File -> XML Team Mode is checked for everyone so you can work on XML and individual files rather than the whole thing.
Alternatively you can avoid the designer tool altogether and use CSS.

Export RCP with plug-in project as dependency failure

I had a RCP application that uses a plug-in project as dependency. I have added the plug-in project into MANIFEST.MF of my RCP program and it works well. But when I exported the program, it posted an error:
The build.properties is as follows:
output.. = bin/
bin.includes = META-INF/,\
.,\
Application.e4xmi,\
plugin.xml,\
com.hpi.hpdm.console.dependencies;bundle-version="1.0.0"
source.. = src/
source.. = src/
jars.compile.order = .
source.com.hpi.hpdm.console.dependencies;bundle-version="1.0.0"/ =
Comment: com.hpi.hpdm.console.dependencies is the plug-in project, com.hpi.hpdm.console is the main project.
I don't know what "\com.hpi.hpdm.console\"1.0.0"\=" does not exise! means. Any clues will be appreciated.
Updated:
The build.properties:
The .product file Contents tab:
When exporting an RCP your .product file must list every plugin (or feature) that is used by the RCP.
If you are using a feature based product configuration:
Open the feature.xml for your code and add all your plugins to the feature (in your case the feature is 'com.hpi.hpdm.console.feature').
If you are using a plugin based product configuration:
Open the .product file editor and switch to the 'Contents' tab. If your main plugin is listed there you should be able to use the 'Add Required' button to update the list. Make sure that all your plugins have been included (along with a lot of standard Eclipse plugins).

how to attached text file and pdf file or any type of file in iOS /android?

I am working on Ionic with cordova .I want to select any type of file from file explore or gallery (may be .txt,pdf,.jpg any type ) Then I need to send to server that the attached file .So i google it and found there is some plugin
http://ngcordova.com/docs/plugins/imagePicker/
which is used in only picking the images .But I need for all files like txt and pdf and image also
and for transferring file
I found this plugin
http://ngcordova.com/docs/plugins/fileTransfer/
Second option
<input type=“file”/>
But it not work for android I saw on google and it crashes at IOS at OS 8.1
could you please suggest how to attached files in iOS .?
Normal input with type file will not work for choosing file from native devices using cordova. You have to use plugin for this, please try cordova file picker plugin.

'CoreVideo/CoreVideo.h' file not found

When I run a iOS App on my device , This error will appear
'CoreVideo/CoreVideo.h' file not found
not matter what project even though create a new project , once run the app on my device this error will appear
but the Simulator will be OK~
and I can't find some frameworks in
Target--Build Phase--Link Binary With Librares--add
like AVFoundation.framework AudioToolBox.framework
Should i reinstall the xcode on my mac~???
Make certain you've added the CoreVideo framework to your project.
Here's how I do it in my own projects:
If you need help figuring out where it is (it's hidden within the XCode app package itself), let me know and I can show you.
Also, make certain "Target Membership" is checked for CoreVideo in the File Inspector of your project. It looks like this:

How to hide obj folder from WPF project

I don't know why but since yesterday I have the obj folder that appears in white in my wpf project workspace and I don't know how to hide it. This directory contains the g.i.cs file generated from .xaml file.
Does anyone knows how to hide it ?
Look for the Show All Files icon in the Solution Explorer window:
It shows/hides the files which are in the project folder but not included in the project itself.

Resources