1
0
forked from cgvr/DeltaVR

fixing problems from merging

This commit is contained in:
2026-01-03 17:23:23 +02:00
parent bd913ae549
commit 5074d688f7
5 changed files with 122 additions and 5 deletions

Binary file not shown.

View File

@@ -0,0 +1,110 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &154411548685861447
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9073868218185543915}
- component: {fileID: 426575173390140847}
- component: {fileID: 3363453355800186393}
- component: {fileID: 2166102850012183631}
- component: {fileID: 8356602476881383464}
m_Layer: 0
m_Name: ModelGenerationManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &9073868218185543915
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154411548685861447}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 35
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &426575173390140847
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154411548685861447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 19e82e42c38cf2d4b912baa8d60c5407, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &3363453355800186393
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154411548685861447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4591f6805db240a4ca28e515091ca909, type: 3}
m_Name:
m_EditorClassIdentifier:
INVOKEAI_BASE_URL: http://ltat-cgvr9.domenis.ut.ee:9090
DEFAULT_QUEUE_ID: default
MODEL_KEY: 81d45960-08a0-4b8c-a48b-e7d73b21bfe2
--- !u!114 &2166102850012183631
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154411548685861447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 905247c726697644cbf0f39558db46bb, type: 3}
m_Name:
m_EditorClassIdentifier:
TRELLIS_BASE_URL: http://ltat-cgvr9.domenis.ut.ee:7960
--- !u!114 &8356602476881383464
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 154411548685861447}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d9370225a2ca94276b870d5f87b0db55, type: 3}
m_Name:
m_EditorClassIdentifier:
logLevel: 1
modelPath: Whisper/ggml-base.bin
isModelPathInStreamingAssets: 1
initOnAwake: 1
useGpu: 1
flashAttention: 0
language: en
translateToEnglish: 0
strategy: 0
noContext: 1
singleSegment: 0
enableTokens: 0
initialPrompt:
stepSec: 1
keepSec: 0.2
lengthSec: 10
updatePrompt: 1
dropOldBuffer: 0
useVad: 1
tokensTimestamps: 0
audioCtx: 0

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 20ac8e080e4d1f94d9ae12d7ecf607c1
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -8,7 +8,7 @@ public class ImageGenerationBox : MonoBehaviour
public Material inactiveMaterial; public Material inactiveMaterial;
public Material loadingMaterial; public Material loadingMaterial;
public VoiceTranscriptionBox voiceTranscriptionTestBox; public VoiceTranscriptionBox voiceTranscriptionBox;
public Image imageDisplay; public Image imageDisplay;
public Texture2D LastTexture { get; private set; } public Texture2D LastTexture { get; private set; }
public string promptSuffix = ", single object, front and side fully visible, realistic style, plain neutral background, clear details, soft studio lighting, true-to-scale"; public string promptSuffix = ", single object, front and side fully visible, realistic style, plain neutral background, clear details, soft studio lighting, true-to-scale";
@@ -37,7 +37,7 @@ void Start()
XROrigin playerOrigin = other.GetComponent<XROrigin>(); XROrigin playerOrigin = other.GetComponent<XROrigin>();
if (controller != null || playerOrigin != null) if (controller != null || playerOrigin != null)
{ {
string inputPrompt = voiceTranscriptionTestBox.GetTextOutput(); string inputPrompt = voiceTranscriptionBox.GetTextOutput();
string refinedPrompt = inputPrompt + promptSuffix; string refinedPrompt = inputPrompt + promptSuffix;
isLoading = true; isLoading = true;